//
//  BanBu_AdressBookCell.m
// Halfarea
//
//  Created by banbu3 on 14-6-16.
//
//

#import "BanBu_AdressBookCell.h"

@implementation BanBu_AdressBookCell

- (void)awakeFromNib
{
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)setDetail:(NSDictionary *)detail
{
    _detail = [detail retain];
//    [dic setValue:[p valueForKey:@"personName"] forKey:@"personName"];
//    [dic setValue:[p valueForKey:@"phoneNumberArr"] forKey:@"phoneNumberArr"];
//    [perosonList addObject:dic];
    self.name.text = _detail[@"personName"];
    self.type.text = NSLocalizedString(@"invitefriend", 邀请);
    
}

- (void)dealloc {
    [_name release];
    [_type release];
    [super dealloc];
}
@end
